<?php
/**
 * The following variables are available in this template:
 * - $this: the CrudCode object
 */
?>
<?php
echo "<?php\n";
$label=$this->pluralize($this->class2name($this->modelClass));
echo "\$this->breadcrumbs=array(
    Yii::t('site','$label'),
);\n";
?>

$this->menu=array(
    array('label'=>Yii::t('site','Create New <?php echo $this->class2name($this->modelClass); ?>'), 'url'=>array('create')),
    array('label'=>Yii::t('site','Manage <?php echo $label; ?>'), 'url'=>array('admin')),
);
?>

<h1><?php echo "<?php echo CHtml::encode(Yii::t('site','$label')); ?>" ?></h1>

<?php echo "<?php"; ?> $this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$dataProvider,
    'itemView'=>'_view',
)); ?>
